package com.pro.mapper;

import com.pro.pojo.JsComment;
import com.pro.pojo.JsCourse;
import com.pro.pojo.JsMicrocircle;

import java.util.List;

/**
 * ClassName:JsMicrocircleComment
 * Package:com.pro.mapper
 * Description:
 *
 * @Date:2022/1/18 18:44
 * @Author: XJR
 */
public interface JsMicrocircleCommentMapper {
    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/18
     * @Content:前台按钮微圈数量
     */
    Integer selectBeforeCountAll(String status,Integer type);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/18
     * @Content:前台table中的数量
     */

    Integer selectBeforeCountToday(Integer type,String status,String commentDate);
    
    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/18
     * @Content:前台layuiTable中的数据
     */
    List<JsComment> selectBeforeTable(Integer type,String status,Integer limit,Integer page);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/18
     * @Content:查看前台用户微圈
     */
    JsMicrocircle selectBeforeJsMicrocircle(Integer type, Integer id);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/19
     * @Content:通过Id查询前台评论详情
     */
    List<JsComment> selectBeforeCommentById(Integer commodityId,Integer type);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/19
     * @Content:管理人员按钮微圈数量
     */
    Integer selectUserCountAll(String status,Integer type);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/18
     * @Content:管理人员table中的数量
     */
    Integer selectUserCountToday(Integer type,String status,String commentDate);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/19
     * @Content:管理人员layuiTable中的数据
     */
    List<JsComment> selectUserTable(Integer type,String status,Integer limit,Integer page);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/19
     * @Content:查看管理人员用户微圈
     */
    JsMicrocircle selectUserJsMicrocircle(Integer type, Integer id);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/19
     * @Content:通过Id查询管理人员评论详情
     */
    List<JsComment> selectUserCommentById(Integer commodityId,Integer type);

}
